$(function () {
    var str = location.search.slice(1).split("&");
    var obj = {};
    var arr = [];
    for (var i = 0; i < str.length; i++) {
        arr[i] = str[i].split("=");
        obj[arr[i][0]] = arr[i][1];
    }
    // console.log(obj);
    $.ajax({
        type: "get",
        url: "http://193.112.55.79:9090/api/getbrand?brandtitleid="+obj.brandTitleId+"",
        dataType: "json",
        success: function (res) {
            console.log(res);
            
            var html = template("tp", res.result);
            $(".qq_list").html(html);

        }
    });
})